<?php
class dt_inventario extends toba_datos_tabla
{
	function get_descripciones()
	{
		$sql = "SELECT id_terminal, num_serie FROM inventario ORDER BY num_serie";
		return toba::db('fce')->consultar($sql);
	}




	function get_listado()
	{
		$sql = "SELECT
			t_i.id_terminal,
			t_i.cargo,
			t_i.num_inventario,
			t_i.num_serie
		FROM
			inventario as t_i
		ORDER BY num_serie";
		return toba::db('fce')->consultar($sql);
	}

}
?>